package java44th.group.bean.admin.vo.stat.goods;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @ProjectName project-second
 * @Descriptiom TODO
 * @Aurhor: 蔡文强
 * @Since: 2022/10/13 14:13
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RowsEntity {
    /**
     * amount : 297.0
     * orders : 3
     * day : 2022-01-06
     * products : 3
     */
    private double amount;
    private int orders;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date day;
    private int products;
}
